/*
 * Copyright 2016-2017 TVI Go Easy.
 * Created on 2017/5/9 10:38
 */
package org.mechanic.fund.web.tools;

import org.mechanic.fund.service.tools.IQiniuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 请在此写下该类的说明
 *
 * @author mechanic
 * @version 0.0.1
 */
@RestController
@RequestMapping(value = "qiniu")
public class QiniuController {

    private final IQiniuService qiniuService;

    @Autowired
    public QiniuController(IQiniuService qiniuService) {this.qiniuService = qiniuService;}

    @GetMapping(value = "amr2mp3")
    private String amr2Mp3(){
        return qiniuService.amr2Mp3();
    }
}
